package com.lds.config.center.client.service;

import com.lds.config.center.client.common.model.response.GetAllItemResponse;
import com.lds.config.center.client.listener.ItemChangeEventListener;
import com.lds.management.center.common.model.dto.ResultDTO;

import java.util.Map;

public interface ClientService {
    ResultDTO<GetAllItemResponse> getAllItem();
    Map<String, Map<String, Object>> getAllItemFromLocal();

    void notifyUpdate();

    void addListener(ItemChangeEventListener listener);
}
